import React from "react";
import ReactDOM from "react-dom/client";
import "./index.css";
import App from "./App.jsx";
import store from "./store/state";

const root = ReactDOM.createRoot(document.getElementById("app"));
root.render(<App />);
store.subscribe(() => {
  root.render(<App />);
});
